home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ WinMessenger 13.xpl < prev    next >
Text File  |  2004-05-02  |  2KB  |  47 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Internet\Instant Messaging\Windows Messenger\Appearance"
  5. "NAME"="Background Mode Ballontip"
  6. "VERSION"="1.01"
  7. "LANGUAGE"="VBScript"
  8. "OSVERSION"="0000011"
  9. "TEXT 1"="Show Background Mode Ballontip"
  10. "DESCRIPTION 1"="The Windows Messenger is normally started automatically when you turn on your Computer and is visible in the tray area (the area left from the clock)."
  11. "DESCRIPTION 2"="When you use it and then close it again, it is minimized to the tray area again. Normally, this minimizing will cause the Windows Messenger to display a Ballontip (ToolTip) that it enters background mode again. 
  12. "DESCRIPTION 3"="With this setting, you can control if this Ballontip (ToolTip) should appear or not.
  13. "DESCRIPTION 4"="Windows Messenger may be obtained at http://messenger.microsoft.com/"
  14. "AUTHOR"="Xteq Systems"
  15. "CONTACTURL"="http://www.xteq.com/"
  16. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  17. "COMMENT 1"="Taken from NTFAQ"
  18.  
  19.  
  20. sP="HKEY_CURRENT_USER\Software\Microsoft\MessengerService\"
  21. sV="DSBkgndMode"
  22.  
  23.    sValue="00000000"
  24. sValue_On="01000000"
  25.  
  26. Sub Plugin_Initialize 
  27.  if RegPathExists(sP)=false then
  28.     Call Disable()
  29.  else
  30.     i=RegReadValue(sP & sV)
  31.     if i<>sValue then 
  32.        Call SetUIElement(1,true)
  33.     end if
  34.  end if 
  35. End Sub
  36.  
  37. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  38.  if GetUIElement(1)=true then
  39.    Call RegWriteValue(sP&sV,sValue_On,3)
  40.  else
  41.    Call RegWriteValue(sP&sV,sValue,3)
  42.  end if
  43. End Sub
  44.  
  45. Sub Plugin_Terminate 
  46. End Sub
  47.